﻿namespace HTMLService
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;

    /// <summary>
    /// This will be used for page related all utility method .
    /// </summary>
    public static class UIHelper
    {
        public static string GetHTML(string selectedSearchType)
        {
            return "<B> This is my html</b> your selecte search type: " + (string.IsNullOrWhiteSpace(selectedSearchType) ? " is missing" : selectedSearchType);
        }



        public static string RenderOrderControl(string selectedSearchType)
        {
            return PopupHelper.RenderDialogUserControl("dvAsyncResult", PopUpControlType.Orders, selectedSearchType, PopupSize.Default);
        }
    }
}